﻿using FriendStar.Code;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using FriendStar.Application.BaseData;
using FriendStar.Domain.Entity.BaseData;
using FriendStar.Application.MainData;

namespace FriendStar.Web.Areas.BaseData.Controllers
{
    public class CPK_ZD_12_DatStoreHouseSetController : ControllerBase
    {
        //库位定制
        // GET: /BaseData/CPK_ZD_12_DatStoreHouseSet/StoreHouseSets
        private CPK_ZD_12_DatStoreHouseSetApp cpk_ZD_12_DatStoreHouseSetApp = new CPK_ZD_12_DatStoreHouseSetApp();
        //FStoreNO =选择的仓库编号
        public ActionResult StoreHouseSets(string storeNO)
        {
            var data = cpk_ZD_12_DatStoreHouseSetApp.StoreHouseSets(Configs.GetValue("UseUnit"), storeNO);
            return Content(data.ToJson());
        }
    }
}
